<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bingzhong_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bingzhong_id" data-rule="required" data-source="bingzhong/index" class="form-control selectpage" name="row[bingzhong_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiaofei')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiaofei" data-rule="required" class="form-control" step="0.01" name="row[xiaofei]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dianji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dianji" data-rule="required" class="form-control" name="row[dianji]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhanxian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhanxian" data-rule="required" class="form-control" name="row[zhanxian]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duihua')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duihua" data-rule="required" class="form-control" name="row[duihua]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Youxiao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-youxiao" data-rule="required" class="form-control" name="row[youxiao]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yuyue')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yuyue" data-rule="required" class="form-control" name="row[yuyue]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Daozheng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-daozheng" data-rule="required" class="form-control" name="row[daozheng]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refreshtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refreshtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refreshtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="normal"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
